@charset "UTF-8";
.files{
    padding:0 5px;
    .file{
        padding-top:10px;
    }
    .file-view{
        overflow:hidden;
        max-width:100%;
        line-height: 14px;
        white-space:nowrap;
        text-overflow:ellipsis;
    }
    .file-name{
        overflow:hidden;
        margin-right:30px;
        max-width:80%;
        font-size:12px;
        color:#666;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .file-remove{
        float:right;
        margin-left:4px;
        cursor:pointer;
        text-decoration:none;
        font-size:16px;
        &:hover{
            color:#e2265b;
        };
    }
    .file-progress{
        overflow: hidden;
        margin:5px 0 5px;
        height:10px;
        text-align:center;
        background-color: #f5f5f5;
        border-radius: 4px;
    }
    .file-progress-bar{
        float: left;
        width: 0;
        height: 100%;
        line-height: 10px;
        color: #fff;
        text-align: center;
        background-color: #5cb85c;
        -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
        box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
        -webkit-transition: width .6s ease;
        -o-transition: width .6s ease;
        transition: width .6s ease;
    }
    .file-preview{
        .file,.image{
            display:block;
            padding:2px 0;
            max-width:100%;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .file{
            overflow:hidden;
            margin-right:30px;
        }
        img{
            max-width:100%;
            max-height:100%;
        }
    }

}